<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>text</title>
    <style></style>
  </head>
  <body>
    <div class="container">
      <button onclick="handleClick()">跳转</button>
    </div>
    <script>
      handleClick = () => {
        // http://172.168.10.79:8178/repair/maintenance-warehouse/file-package-detail?id=61&type=edit
        const url =
          '/supervision/equipmentDefectsDetail?type=create&callback=' +
          encodeURIComponent('http://172.168.10.79:8178/repair/maintenance-warehouse/file-package-detail?id=61&type=edit')
        console.log(url)
      }
    </script>
  </body>
</html>
